package com.gao.service;

import java.sql.SQLException;

import com.gao.domain.User;

/**
 * 
 * @author Administrator
 *ҵ���
 */
public interface UserService {
	/**
     * ��¼
     *
     * @param username
     * @param password
     * @return
     */
	User login(String username, String password) throws SQLException;
	
	/**
     * ע��
     *
     * @param username
     * @param password
     * @param phonenum
     * @return
     */
	boolean register(String username, String password, String phonenum)throws SQLException;
}
